package com.maybach.common.model;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

public class OrderDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * This field corresponds to the database column b2b_order.id
     */
    private Long id;

    /**
     * This field corresponds to the database column b2b_order.order_no
     */
    private String orderNo;

    /**
     * This field corresponds to the database column b2b_order.car_num
     */
    private Integer carNum;

    /**
     * This field corresponds to the database column b2b_order.buyer_id
     */
    private Long buyerId;

    /**
     * This field corresponds to the database column b2b_order.seller_id
     */
    private Long sellerId;

    /**
     * This field corresponds to the database column b2b_order.provider_id
     */
    private Long providerId;

    /**
     * This field corresponds to the database column b2b_order.dealer_id
     */
    private Long dealerId;

    /**
     * This field corresponds to the database column b2b_order.provider_name
     */
    private String providerName;

    /**
     * This field corresponds to the database column b2b_order.dealer_name
     */
    private String dealerName;

    /**
     * This field corresponds to the database column b2b_order.total_amount
     */
    private Long totalAmount;

    /**
     * This field corresponds to the database column b2b_order.car_id
     */
    private Long carId;

    /**
     * This field corresponds to the database column b2b_order.car_amount
     */
    private Long carAmount;

    /**
     * This field corresponds to the database column b2b_order.desposit_amount
     */
    private Long despositAmount;

    /**
     * This field corresponds to the database column b2b_order.desposit_pay_time
     */
    private Date despositPayTime;

    /**
     * This field corresponds to the database column b2b_order.desposit_imgs
     */
    private String despositImgs;

    /**
     * This field corresponds to the database column b2b_order.desposit_imgs_status
     */
    private Integer despositImgsStatus;

    /**
     * This field corresponds to the database column b2b_order.contract_imgs
     */
    private String contractImgs;

    /**
     * This field corresponds to the database column b2b_order.contract_imgs_status
     */
    private Integer contractImgsStatus;

    /**
     * This field corresponds to the database column b2b_order.other_fee
     */
    private Long otherFee;

    /**
     * This field corresponds to the database column b2b_order.status
     */
    private Integer status;

    /**
     * This field corresponds to the database column b2b_order.is_deleted
     */
    private Boolean isDeleted;

    /**
     * This field corresponds to the database column b2b_order.version
     */
    private Integer version;

    /**
     * This field corresponds to the database column b2b_order.attributes
     */
    private String attributes;

    /**
     * This field corresponds to the database column b2b_order.daifu_imgs
     */
    private String daifuImgs;

    /**
     * This field corresponds to the database column b2b_order.daifu_imgs_status
     */
    private Integer daifuImgsStatus;

    /**
     * This field corresponds to the database column b2b_order.daigou_imgs
     */
    private String daigouImgs;

    /**
     * This field corresponds to the database column b2b_order.daigou_imgs_status
     */
    private Integer daigouImgsStatus;

    /**
     * This field corresponds to the database column b2b_order.invoice_type
     */
    private String invoiceType;

    /**
     * This field corresponds to the database column b2b_order.gmt_offer_time
     */
    private Date gmtOfferTime;

    /**
     * This field corresponds to the database column b2b_order.gmt_create
     */
    private Date gmtCreate;

    /**
     * This field corresponds to the database column b2b_order.gmt_modified
     */
    private Date gmtModified;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public Integer getCarNum() {
		return carNum;
	}

	public void setCarNum(Integer carNum) {
		this.carNum = carNum;
	}

	public Long getBuyerId() {
		return buyerId;
	}

	public void setBuyerId(Long buyerId) {
		this.buyerId = buyerId;
	}

	public Long getSellerId() {
		return sellerId;
	}

	public void setSellerId(Long sellerId) {
		this.sellerId = sellerId;
	}

	public Long getProviderId() {
		return providerId;
	}

	public void setProviderId(Long providerId) {
		this.providerId = providerId;
	}

	public Long getDealerId() {
		return dealerId;
	}

	public void setDealerId(Long dealerId) {
		this.dealerId = dealerId;
	}

	public String getProviderName() {
		return providerName;
	}

	public void setProviderName(String providerName) {
		this.providerName = providerName;
	}

	public String getDealerName() {
		return dealerName;
	}

	public void setDealerName(String dealerName) {
		this.dealerName = dealerName;
	}

	public Long getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(Long totalAmount) {
		this.totalAmount = totalAmount;
	}

	public Long getCarId() {
		return carId;
	}

	public void setCarId(Long carId) {
		this.carId = carId;
	}

	public Long getCarAmount() {
		return carAmount;
	}

	public void setCarAmount(Long carAmount) {
		this.carAmount = carAmount;
	}

	public Long getDespositAmount() {
		return despositAmount;
	}

	public void setDespositAmount(Long despositAmount) {
		this.despositAmount = despositAmount;
	}

	public Date getDespositPayTime() {
		return despositPayTime;
	}

	public void setDespositPayTime(Date despositPayTime) {
		this.despositPayTime = despositPayTime;
	}

	public String getDespositImgs() {
		return despositImgs;
	}

	public void setDespositImgs(String despositImgs) {
		this.despositImgs = despositImgs;
	}

	public Integer getDespositImgsStatus() {
		return despositImgsStatus;
	}

	public void setDespositImgsStatus(Integer despositImgsStatus) {
		this.despositImgsStatus = despositImgsStatus;
	}

	public String getContractImgs() {
		return contractImgs;
	}

	public void setContractImgs(String contractImgs) {
		this.contractImgs = contractImgs;
	}

	public Integer getContractImgsStatus() {
		return contractImgsStatus;
	}

	public void setContractImgsStatus(Integer contractImgsStatus) {
		this.contractImgsStatus = contractImgsStatus;
	}

	public Long getOtherFee() {
		return otherFee;
	}

	public void setOtherFee(Long otherFee) {
		this.otherFee = otherFee;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Boolean getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Boolean isDeleted) {
		this.isDeleted = isDeleted;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public String getAttributes() {
		return attributes;
	}

	public void setAttributes(String attributes) {
		this.attributes = attributes;
	}

	public String getDaifuImgs() {
		return daifuImgs;
	}

	public void setDaifuImgs(String daifuImgs) {
		this.daifuImgs = daifuImgs;
	}

	public Integer getDaifuImgsStatus() {
		return daifuImgsStatus;
	}

	public void setDaifuImgsStatus(Integer daifuImgsStatus) {
		this.daifuImgsStatus = daifuImgsStatus;
	}

	public String getDaigouImgs() {
		return daigouImgs;
	}

	public void setDaigouImgs(String daigouImgs) {
		this.daigouImgs = daigouImgs;
	}

	public Integer getDaigouImgsStatus() {
		return daigouImgsStatus;
	}

	public void setDaigouImgsStatus(Integer daigouImgsStatus) {
		this.daigouImgsStatus = daigouImgsStatus;
	}

	public String getInvoiceType() {
		return invoiceType;
	}

	public void setInvoiceType(String invoiceType) {
		this.invoiceType = invoiceType;
	}

	public Date getGmtOfferTime() {
		return gmtOfferTime;
	}

	public void setGmtOfferTime(Date gmtOfferTime) {
		this.gmtOfferTime = gmtOfferTime;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}


    @Override
    public String toString(){
        return ReflectionToStringBuilder.toString(this, ToStringStyle.DEFAULT_STYLE);
    }
}